#ifndef CANMESSAGE_H
#define	CANMESSAGE_H
#include <stdint.h>

typedef struct {
    uint32_t ID;
    int DataLength;
    unsigned char Data[8];
} CANMessage;

void HandleCANRX1();
int HasCANMessage();
int GetCANMessage(CANMessage*);

void PrintCANMessage(CANMessage*);

#endif	/* CANMESSAGE_H */

